Skip to content

Redirect change - #288

Open
Bharani0012 wants to merge 5 commits into
mainfrom
redirect-change
Open

Redirect change#288
Bharani0012 wants to merge 5 commits into
mainfrom
redirect-change

Conversation

@Bharani0012

Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two issues:

1

Once I go to Organisation, it is not directly going to /flows, it is going to /dashboard for a few seconds and then to /flows. We need to go to /flows directly from /organization

What we need is
/organization->/flows instead of /organization->/dashboard(for few seconds) ->/flows

2

⚠️ Note
This behavior exists in the old frontend and must be fully replicated in the new frontend. You can check for the Dashboard button and logout button in the old frontend and replicate its style in the new frontend


Post-Login Routing & Header Behavior

(Parity with Old Frontend)


Root (/) behavior after login

  • After a user has logged in, opening / in a new tab should remain on /.
  • Currently, / incorrectly redirects to /flows.
    This must be fixed.

Restricted routes after login

Once a user is logged in:

  • Visiting /login must redirect to /flows
  • Visiting /organization must redirect to /flows

Header actions on / after login

On the / page, after login:

  • The “Login” button (top-right) should change to “Dashboard”
  • Clicking Dashboard should navigate to /flows

Sign-out behavior on / after login

On the / page, after login:

  • The “Book a Demo” button (top-right) should change to “Sign Out”
  • Clicking Sign Out should properly log the user out

@SaravanakumarR2018 SaravanakumarR2018 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1

When I have opened three tabs with / without logging in. When I login via third tab, the other two tabs can stay at Book a Demo and Login button, but when I press login button in the second or first tab, it should take me to /flows instead of /login page

2

When I have logged in, When I go to /login in a new tab, it should take me to /flows instead of /organization

3

When I have logged in, When I go to /organization in a new tab, it should take me to /flows instead of /organization

4

I open one tab, login to /flows.
Then I open two tabs with /. I do see buttons sign out and dashboard in the new two tabs
When I click on sign out in one of the two new tabs, the other tabs should also sign out and go to /. Unfortunately that is not happening
Also, the favicon icon on all three tabs vanishes which actually should not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants